package tool.test.com;

import com.fazecast.jSerialComm.SerialPort;

public class AllComRunner {
    public static void main(String[] args) {
        SerialPort[] ports = SerialPort.getCommPorts();
        int i = 0;
        for (SerialPort sp : ports) {
            System.out.println(i + " :: " + sp.getSystemPortName() + ": " + sp.getDescriptivePortName() + " - " + sp.getPortDescription());
            i++;
        }
    }
}
